package com.czxy.advert.feign;

import com.czxy.domain.TbRecruitmentInfo;
import com.czxy.domain.TbUser;
import com.czxy.findjob.vo.BaseResult;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;

@FeignClient(value = "enterprise-service",path = "/recruitmentInfo")
public interface InfoFeign {
    @GetMapping("/{id}")
    public BaseResult<TbRecruitmentInfo> findById(@PathVariable("id") String id);
}
